package com.risk.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangjingjing
 * @since 2020-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RiskBlack implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 客户名称
     */
    private String userName;

    /**
     * 客户证件号码
     */
    private String idCard;

    /**
     * 客户手机号
     */
    private String mobile;

    /**
     * 是否在黑名单
     */
    private String isBlackList;

    /**
     * 黑名单来源
     */
    private String sourceType;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime created;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modified;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 软删除
     */
    private String deleted;

    /**
     * 加入黑名单原因
     */
    private String cause;

    /**
     * 说明
     */
    private String tip;


    public static final String ID = "id";

    public static final String USER_NAME = "user_name";

    public static final String ID_CARD = "id_card";

    public static final String MOBILE = "mobile";

    public static final String IS_BLACK_LIST = "is_black_list";

    public static final String SOURCE_TYPE = "source_type";

    public static final String CREATED = "created";

    public static final String MODIFIED = "modified";

    public static final String CREATOR = "creator";

    public static final String MODIFIER = "modifier";

    public static final String DELETED = "deleted";

    public static final String CAUSE = "cause";

    public static final String TIP = "tip";

}
